<template>
  <a-result
    status="403"
    title="无权限访问"
    subtitle="您没有权限访问此页面，请联系管理员"
  >
    <template #extra>
      <a-button type="primary" @click="goHome">返回首页</a-button>
    </template>
  </a-result>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();
const goHome = () => router.push("/");
</script>
